package org.luckyjourney.mapper.consultants;

import org.apache.ibatis.annotations.Mapper;
import org.luckyjourney.entity.consultants.TalConsultants;
import org.luckyjourney.entity.consultants.dto.PersonalDataDTO;
import org.luckyjourney.entity.consultants.dto.RetrievePWDTO;
import org.luckyjourney.entity.consultants.vo.TalConsultantsVO;

@Mapper
public interface ConsultantsMapper {

    int insert(TalConsultants consultants);

    TalConsultants selectId(String phone);

    int updatePassword(TalConsultants consultants);

    TalConsultants selectById(Long id);

    int updateIdPW(TalConsultants consultants);

    int update(PersonalDataDTO personalDataDTO);

    TalConsultantsVO select(PersonalDataDTO personalDataDTO);
}
